home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / v9n14.arc / ZIPNGO.BAT < prev   
DOS Batch File  |  1990-07-14  |  640b  |  26 lines

  1. @ECHO OFF
  2. IF "%3"=="" GOTO explain
  3. MGUNZIP %1 %2 %3
  4. IF ERRORLEVEL 1 GOTO UnzipTrouble
  5. ECHO I have extracted "%3" from "%1".  
  6. ECHO To use this batch file, insert a line that
  7. ECHO calls a program to work with "%3", e.g.
  8. ECHO      WP %%3
  9. PAUSE
  10. MGZIP -a %1 %2%3
  11. IF ERRORLEVEL 1 GOTO ZipTrouble
  12. DEL %2%3 > NUL
  13. GOTO end
  14. :explain
  15. ECHO Before invoking this Launch option, highlight the filename
  16. ECHO within the ZIP file and press {Enter} to View it.
  17. PAUSE
  18. GOTO end
  19. :UnzipTrouble
  20. ECHO Sorry, I could not unzip the file for you.
  21. PAUSE
  22. GOTO end
  23. :ZipTrouble
  24. ECHO I could not re-ZIP the file %2%3, so I didn't delete it.
  25. :end
  26.